<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>送水后台管理系统</title>
    <meta charset="utf-8">
    <link rel="icon" href="https://jscdn.com.cn/highcharts/images/favicon.ico">
    <link th:href="@{/css/style2.css}" rel='stylesheet' type='text/css' />
</head>
<body>

<div class="main">

    <div class="login-form">

        <h1>后台登录</h1>
        <div class="head">
            <img src="/images/lxc.png" alt=""/>

        </div>
        <form th:action="@{/login}" th:method="post">
            <input type="text" class="text" name="userName" required >
            <input type="password" name="userPwd" required>
            <div class="submit">
                <input type="submit" name="submit" value="登录" >
            </div>
            <p style="color:red"
               th:if="${not #strings.isEmpty(msg)}"
               th:text="${msg}">
            </p>
        </form>
    </div>
    <div class="copy-right">
        <p><a target="_blank" href="https://blog.csdn.net/qq_45511798?spm=1000.2115.3001.5343">&copy; author：冯宝宝</a></p>
    </div>
</div>
</body>
</html>